#-------------------------------------------------
#
# Project created by QtCreator 2015-04-27T14:35:43
#
#-------------------------------------------------
include(FreyaLib.pri)

DESTDIR = $${FREYALIB_LIBPATH}
DLLDESTDIR = $$PWD/../bin

#MOC_DIR = $$PWD/freya_out
#UI_DIR = $$PWD/freya_out
#OBJECTS_DIR = $$PWD/freya_out

TARGET = $${FREYALIB_NAME}

TEMPLATE = lib

QMAKE_TARGET_COMPANY = SchindlerenDesign
QMAKE_TARGET_PRODUCT = FreyaLib
QMAKE_TARGET_DESCRIPTION = C++ application development framework.
QMAKE_TARGET_COPYRIGHT = Copyright (C) SchindlerenDesign

DEFINES += FREYALIB_LIBRARY

unix {
    target.path = /usr/local/freyalib
    INSTALLS += target
}

INCLUDEPATH += $${FREYALIB_INCLUDEPATH}

SOURCES += sources/freyalib.cpp \
    sources/base/freyabasecontrol.cpp \
    sources/base/freyabaseaction.cpp \
    sources/base/freyabasedata.cpp \
    sources/base/freyapublicregister.cpp \
    sources/base/freyacommanddistribution.cpp \
    sources/base/freyacryptogram.cpp \
    sources/base/ringqueue.cpp \
    sources/expand/fnetprotocol.cpp \
    sources/expand/ftcpsocket.cpp \
    sources/expand/freyabasejson.cpp \
    sources/expand/freyabaseextensionex.cpp \
    sources/expand/freyabasepluginex.cpp \
    sources/external/ntabwidget/ntabbar.cpp \
    sources/external/ntabwidget/ntabbutton.cpp \
    sources/external/ntabwidget/ntabwidget.cpp \
    sources/external/singleapplication.cpp \
    sources/external/freyalog.cpp

HEADERS += include/freyalib.h \
    include/abstract/freyaabstractaction.h \
    include/abstract/freyaabstractcontrol.h \
    include/abstract/freyaabstractstruct.h \
    include/external/ntabwidget/ntabbar.h \
    include/external/ntabwidget/ntabbutton.h \
    include/external/ntabwidget/ntabwidget.h \
    include/freyalib_global.h \
    include/base/freyabasedata.h \
    include/base/freyaactiondataq.h \
    include/base/freyabaseaction.h \
    include/base/freyabasecontrol.h \
    include/base/freyapublicregister.h \
    include/base/freyacommanddistribution.h \
    include/base/freyacryptogram.h \
    include/base/ringqueue.h \
    include/expand/fnetprotocol.h \
    include/expand/ftcpsocket.h \
    include/expand/freyabasejson.h \
    include/expand/freyabaseextensionex.h \
    include/expand/freyabasepluginex.h \
    include/external/singleapplication.h \
    include/external/freyalog.h

contains(QT, gui) {
SOURCES += sources/gui/freyawindow.cpp \
    sources/base/freyabasewidget.cpp \
    sources/base/freyabasedialog.cpp \
    sources/external/dragpanel.cpp \
    sources/external/rtabwidget.cpp \
    sources/external/roundedportrait.cpp

HEADERS += include/gui/freyawindow.h \
    include/abstract/freyaabstractwidget.h \
    include/base/freyabasewidget.h \
    include/base/freyabasedialog.h \
    include/external/dragpanel.h \
    include/external/rtabwidget.h \
    include/external/roundedportrait.h
}

#RC_FILE += freyalib.rc
